/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.AttributeManager;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "装箱管理",TableName = "Container")]
    public partial class Container:BaseEntity
    {
        /// <summary>
       ///主键id
       /// </summary>
       [Key]
       [Display(Name ="主键id")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int Id { get; set; }

       /// <summary>
       ///装箱编号
       /// </summary>
       [Display(Name ="装箱编号")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string PackagingCode { get; set; }

       /// <summary>
       ///销售订单编号
       /// </summary>
       [Display(Name ="销售订单编号")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string SalesCode { get; set; }

       /// <summary>
       ///客户编号
       /// </summary>
       [Display(Name ="客户编号")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string ClientCode { get; set; }

       /// <summary>
       ///客户名称
       /// </summary>
       [Display(Name ="客户名称")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string ClientName { get; set; }

       /// <summary>
       ///发票编号
       /// </summary>
       [Display(Name ="发票编号")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string InvoiceCode { get; set; }

       /// <summary>
       ///箱长度
       /// </summary>
       [Display(Name ="箱长度")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? BoxLength { get; set; }

       /// <summary>
       ///箱宽度
       /// </summary>
       [Display(Name ="箱宽度")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? BoxWidth { get; set; }

       /// <summary>
       ///箱高度
       /// </summary>
       [Display(Name ="箱高度")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? BoxHeight { get; set; }

       /// <summary>
       ///净重
       /// </summary>
       [Display(Name ="净重")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? Netweight { get; set; }

       /// <summary>
       ///毛重
       /// </summary>
       [Display(Name ="毛重")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? GrossWeight { get; set; }

       /// <summary>
       ///检查员名称
       /// </summary>
       [Display(Name ="检查员名称")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string InspectorName { get; set; }

       /// <summary>
       ///备注
       /// </summary>
       [Display(Name ="备注")]
       [MaxLength(500)]
       [Column(TypeName="nvarchar(500)")]
       [Editable(true)]
       public string Descs { get; set; }

       /// <summary>
       ///装箱日期
       /// </summary>
       [Display(Name ="装箱日期")]
       [Column(TypeName="datetime")]
       public DateTime? PackagingDate { get; set; }

       
    }
}